<nav class="navbar navbar-default">
	  <div class="navbar-header">
      <a class="navbar-brand" href="#">音乐之家 留言本</a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="__ROOT__/index">首页 <span class="sr-only">(current)</span></a></li>
        <li><a href="__ROOT__/add">发布留言</a></li>

      </ul>


      <ul id="jMenu" class="nav navbar-nav navbar-right">
        <li v-if="username" >
            <a class="fNiv">欢迎您！{{username}}</a>
            <ul>
                <li class="arrow"></li>
                <li><a type="submit"@click="personal">个人信息</a></li>
                <li><a href="__ROOT__/message">我的留言</a></li>
                <li v-if="!auth_level"><a href="__ROOT__/private">私密留言</a> </li>
                <li v-if="!auth_level"><a href="__ROOT__/checkMessage">审核列表</a> </li>
                <li v-if="!auth_level"><a href="__ROOT__/UserManage">用户管理</a> </li>
            </ul>
        </li>
        <li v-if="username"><a type="submit" @click="dologout">退出</a></li>
      	<li v-if="!username"><a href="__ROOT__/regist">注册</a></li>
        <li v-if="!username"><a href="__ROOT__/login">登录</a></li>
        <li v-if="username"><a type="submit" @click="changePwd">修改密码</a></li>
      </ul>
  </div>

</nav>


